//
//  YTResetEmbodyPasswordViewController.m
//  YiTuDriverClient
//
//  Created by 石少庸 on 2017/5/25.
//  Copyright © 2017年 Yitu. All rights reserved.
//

#import "YTResetEmbodyPasswordViewController.h"
#import "YTValidateIdentityViewController.h"
#import "YTEmbodyPasswordViewController.h"

@interface YTResetEmbodyPasswordViewController ()
@property (weak, nonatomic) IBOutlet UILabel *tipsText;
@end

@implementation YTResetEmbodyPasswordViewController

- (void)initialize {
    _tipsText.text = [NSString stringWithFormat:@"您正在为%@重置提现密码", [YTUtilityManager manager].userModel.phone];
}


- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    if ([segue.identifier isEqualToString:@"YTRemember"]) {
        YTEmbodyPasswordViewController *embody = segue.destinationViewController;
        embody.type = YTEmbodyPasswordResetType;
    }
    
    if ([segue.identifier isEqualToString:@"YTForget"]) {
        YTValidateIdentityViewController *validate = segue.destinationViewController;
        validate.segueIdentifier = @"YTSetEmbody";
        validate.type = YTEmbodyPasswordSetType;
    }
}

@end
